import csv
row = ['罗冬仪', '女', '3', '广金']
out = open("数据格式化.csv", "a+")
write = csv.writer(out, dialect="excel")
write.writerow(row)
out.close()
print("write ok")
